const mongoose = require('mongoose')
const Schema = mongoose.Schema
// 定义数据模型
const settingCollection = new Schema( {
    // 在这里定义模型属性
    avatar: {type: String},
    siteTitle: {type: String},
    github: {type: String},
    qq: {type: String},
    qqQrCode: {type: String},
    weixin: {type: String},
    weixinQrCode:{type: String},
    mail: {type: String},
    icp: {type: String},
    githubName:{type: String},
    favicon: {type: String},
});
const Settings = mongoose.model('Setting', settingCollection)
module.exports = Settings